<template>
  <div class="content">
    <h1 @click="versionClick">更新版本 - first blood</h1>
  </div>
</template>

<script>
  if (window.require) {
    var ipcRenderer = window.require("electron").ipcRenderer;
  }
  let myNotification;
  export default {
    data() {
      return {};
    },
    created: function () {
      var self = this;
    },
    mounted() {
      ipcRenderer.on("getversionClick", function (event, arg) {
        console.log(arg);
      });
    },
    filters: {},
    methods: {
      versionClick() {
        ipcRenderer.send("versionClick");
      }
    },
    watch: {}
  };

</script>

<style scoped>
  .content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    background-color: rgb(186, 190, 197);
    display: flex;
    align-items: center;
    justify-content: center;
  }

</style>
